#! /bin/bash

target=$SYSCPAR_ROOT/code/v2/systemc-2.2.0/src/sysc/kernel/sc_noti_log.h
[ -f $target ] || { echo "UUT not found"; exit -1; }
cp $target .
sed -i 's|^#include "sysc/kernel/sc_time.h"||' ./sc_noti_log.h
g++ -g sc_noti_log_unittest.cpp $GTEST_DIR/make/gtest-all.o -lpthread -o unit_test && ./unit_test
rm -rf ./unit_test





